<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    

      

       <script>  
                
                let objData={
                    aa:1,
                    cc:"222",
                    objTwo:{
                        name:"xiaoming"
                    },
                    dfff:[1,5,6],
                    wwww:null,
                    eeeee:undefined,
                    sayHello(){
                        console.log(' YYYYYYYyyy')
                    },
                    tttt:11111111111111119

               }
               let datalist=JSON.parse( JSON.stringify(objData ) ) 
               console.log(datalist)
               //eeeee 和 sayHello 丢失了  ttt精度丢失

               


                




     

       </script>

</body>
</html>